Use xstrdup and build_unibyte_string where applicable.
authorDmitry Antipov <dmantipov@yandex.ru>
Fri, 9 Aug 2013 12:25:34 +0000 (16:25 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Fri, 9 Aug 2013 12:25:34 +0000 (16:25 +0400)
commit08744e8ce621ad0a0d037e7c832094ba6159786a
tree4a2653e1d86f06c07476b6a7f6e9053a5e9a8f1a
parent9fec67db357debfaa530bdeff31f840c2c142639
Use xstrdup and build_unibyte_string where applicable.
* alloc.c (xstrdup): Tiny cleanup.  Add eassert.
* xfns.c (x_window):
* xrdb.c (x_get_customization_string):
* xterm.c (xim_initialize):
* w32fns.c (w32_window): Use xstrdup.
(w32_display_monitor_attributes_list):
* emacs.c (init_cmdargs):
* keyboard.c (PUSH_C_STR):
* nsfont.m (nsfont_open):
* sysdep.c (system_process_attributes):
* w32.c (system_process_attributes):
* xdisp.c (message1, message1_nolog): Use build_unibyte_string.
12 files changed:
src/ChangeLog
src/alloc.c
src/emacs.c
src/keyboard.c
src/nsfont.m
src/sysdep.c
src/w32.c
src/w32fns.c
src/xdisp.c
src/xfns.c
src/xrdb.c
src/xterm.c